// 格式化时间 —> 10s => 00:00:10
function formatSecondsToHMS(second) {
    return [parseInt(second / 60 / 60), parseInt((second / 60) % 60), parseInt(second % 60)]
    .join(':')
    .replace(/\b(\d)\b/g, '0$1')
}

export {
    formatSecondsToHMS
}